Imported Debian patch 1.3.5-1.1
authorBernd Zeimetz <bzed@debian.org>
Sun, 20 Jul 2008 19:36:20 +0000 (21:36 +0200)
committerBernd Zeimetz <bernd@bzed.de>
Sat, 27 Dec 2008 00:47:00 +0000 (01:47 +0100)
16 files changed:
Makefile.in
debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/gpsbabel.1 [new file with mode: 0644]
debian/gpsbabel.doc-base.EX [new file with mode: 0644]
debian/manpage.sgml.ex [new file with mode: 0644]
debian/menu.ex [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/watch [new file with mode: 0644]
lmx.c
xmldoc/babelmain.xsl

index 7da093f414d4c8b8047181379380987d35d458f3..9c00e096eae2bbe7902e3a8c4401975b80cc9e60 100644 (file)
@@ -232,7 +232,7 @@ gpsbabel.html: FORCE
 readme.txt: gpsbabel.html
        lynx -nolist -dump gpsbabel.html  > $@
 
-doc: gpsbabel $(WEB)/htmldoc-$(DOCVERSION)/readme.html gpsbabel.pdf # readme.txt
+doc: gpsbabel $(WEB)/htmldoc-$(DOCVERSION)/readme.html # readme.txt
 
 FORCE:
 
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..b5d597c
--- /dev/null
@@ -0,0 +1,20 @@
+If you are having trouble with your Garmin USB device, the garmin_usb
+kernel module may have grabbed it.
+
+According to http://www.gpsbabel.org/os/Linux_Hotplug.html, you can
+prevent that by following these instructions:
+
+According to the documentation at gpsbabel:
+http://www.gpsbabel.org/os/Linux_Hotplug.html
+
+To keep the OS from loading the (frequently dysfunctional) kernel
+garmin_gps module, edit /etc/modprobe.d/blacklist and add the lines 
+
+# stop garmin_gps serial from loading for USB garmin devices
+blacklist garmin_gps
+
+To allow the USB devices to be read and written by a non-privileged
+user, create a named /etc/udev/rules.d/51-garmin.rules with the following
+contents:
+
+SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="666" 
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..8e3c01b
--- /dev/null
@@ -0,0 +1,98 @@
+gpsbabel (1.3.5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fixing FTBFS (Closes: #491364)
+  * debian/control:
+    - adding autoconf and autotools-dev as build dependencies as
+      Package falied to build from source (Closes: #491364)
+  * debian/rules:
+    - Copying config.sub/guess from autotools-dev
+    - Don't ignore errors on clean, fixing a lintian warning.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Sun, 20 Jul 2008 21:36:20 +0200
+
+gpsbabel (1.3.5-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #480449.
+
+ -- John Goerzen <jgoerzen@complete.org>  Wed, 16 Jul 2008 13:04:50 -0500
+
+gpsbabel (1.3.4-2) unstable; urgency=low
+
+  * Add Homepage and Vcs-* lines to Debian/control.
+
+ -- John Goerzen <jgoerzen@complete.org>  Sun, 02 Mar 2008 08:52:21 -0600
+
+gpsbabel (1.3.4-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #459234.  Upstream has dropped
+    Coldsync.  Closes: #421769.
+  * Update debian/copyright.
+  * Add garmin_usb info to README.Debian.  Closes: #344702.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu, 14 Feb 2008 05:50:31 -0600
+
+gpsbabel (1.3.3-2) unstable; urgency=low
+
+  * Added build-dep on texlive-base.  Closes: #427620.
+  * Fixed path of binary.  Closes: #427365.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 05 Jun 2007 01:48:37 -0500
+
+gpsbabel (1.3.3-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #330416, #419884.
+  * Added manpage for Joaquim Ortega-Cerda.  Closes: #342324.
+  * Fixed typo in debian/copyright.  Closes: #421769.
+
+ -- John Goerzen <jgoerzen@complete.org>  Fri, 01 Jun 2007 02:28:54 -0500
+
+gpsbabel (1.3.2-2) unstable; urgency=high
+
+  * Fix doc generation.  Closes: #403092.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon, 18 Dec 2006 05:53:16 -0600
+
+gpsbabel (1.3.2-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #383899, #380533, #304178.
+  * Style docs now included.  Closes: #348986.  (Note: README.style
+    no longer exists)
+
+ -- John Goerzen <jgoerzen@complete.org>  Fri, 17 Nov 2006 03:57:30 -0600
+
+gpsbabel (1.2.7-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #317559.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 11 Oct 2005 05:31:39 -0500
+
+gpsbabel (1.2.5+1.2.6-beta20050608-1) unstable; urgency=low
+
+  * New usptream version.  Closes: #315227.
+  * New version includes support for USB.  Closes: #315134.
+  * New upstream version already has patch for my_rd_deinit.
+    Closes: #315164.
+
+ -- John Goerzen <jgoerzen@complete.org>  Tue, 21 Jun 2005 05:59:58 -0500
+
+gpsbabel (1.2.4-2) unstable; urgency=low
+
+  * make check failure no longer causes build failure.  There are apparently
+    a lot of minor differences in rounding on different archs that were
+    causing this.  Closes: #294717.
+
+ -- John Goerzen <jgoerzen@complete.org>  Mon, 14 Mar 2005 10:39:57 -0600
+
+gpsbabel (1.2.4-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #291544.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu, 27 Jan 2005 11:08:20 -0600
+
+gpsbabel (1.2.3-1) unstable; urgency=low
+
+  * Initial Release.  Closes: #270812.
+
+ -- John Goerzen <jgoerzen@complete.org>  Thu,  9 Sep 2004 08:14:00 -0500
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..a26bc8e
--- /dev/null
@@ -0,0 +1,38 @@
+Source: gpsbabel
+Section: utils
+Priority: optional
+Maintainer: John Goerzen <jgoerzen@complete.org>
+Build-Depends: debhelper (>= 4.0.0), libexpat1-dev, texlive-base-bin, texlive-base, libusb-dev, expat, libxml2-utils, xsltproc, libexpat1-dev, zlib1g-dev, docbook-xml, docbook-xsl, autoconf, autotools-dev
+Standards-Version: 3.6.0
+Homepage: http://www.gpsbabel.org/
+Vcs-Browser: http://git.debian.org/?p=users/jgoerzen/gpsbabel
+Vcs-Git: git://git.debian.org/git/users/jgoerzen/gpsbabel
+
+Package: gpsbabel
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GPS file conversion plus transfer to/from GPS units
+ GPSBabel converts waypoints, tracks, and routes from one format to
+ another, whether that format is a common mapping format like Delorme,
+ Streets and Trips, or even a serial upload or download to a GPS unit
+ such as those from Garmin and Magellan.
+ .
+ GPSBabel supports dozens of data formats and will be useful for tasks
+ such as geocaching, mapping, and converting from one GPS unit to another.
+ Among the interesting formats it supports are several GPS devices via
+ a serial link, various PDA-based mapping programs, and various
+ Geocaching data formats.
+ .
+ GPSBabel supports the following formats:
+ .
+ Cetus, CoPilot Flight Planner, CSV, Custom CSV, Delorme Street Atlas,
+ Delorme Street Atlas 2004 Plus, Delorms GPS Log, Delorme routes,
+ DNA, EasyGPS Binary, Fugawi, Garmin serial, Geocaching.com loc,
+ GeocachingDB, Geoniche, GPilotS, GPSDrive, GPSman, GPSPilot,
+ gpsutil, GPX, Holux, IGC, Magellan serial, Magellan SD,
+ Magellan Navigator Companion, Mapopolis.Com Mapconverter, Mapsend,
+ Mapsource, Maptech, Microsoft Streets and Trips, Navicache,
+ Netstumbler, NIMA/GNIS Geographic Names, NMEA sentences, OziExplorer,
+ PalmDoc, PCX5, PocketStreets 2002 Pushpin, PSITrex, Quovadis,
+ Tab-separated data, Tiger, TopoMapPro, Topo by National Geographic,
+ xcsv, xmap, xmapwpt.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..d50104b
--- /dev/null
@@ -0,0 +1,56 @@
+This package was debianized by John Goerzen <jgoerzen@complete.org> on
+Thu,  9 Sep 2004 08:14:00 -0500.
+
+It was downloaded from http://gpsbabel.sourceforge.net/
+
+Upstream Author(s): Robert Lipe <robertlipe@usa.net>
+
+Copyright:
+
+Copyright (C) 2002-2005 Robert Lipe, robertlipe@usa.net
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
+
+Debian users can find the GNU General Public License at
+/usr/share/common-licenses/GPL.
+
+Some files also have copyright notices for other authors.
+
+----------------------------------------------------------------------
+This program links with or includes some code from other projects.
+Their copyright statements follow:
+
+------------------------------
+JEEPS application and data functions
+Copyright (C) 1999 Alan Bleasby
+
+** This library is free software; you can redistribute it and/or
+** modify it under the terms of the GNU Library General Public
+** License as published by the Free Software Foundation; either
+** version 2 of the License, or (at your option) any later version.
+**
+** This library is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+** Library General Public License for more details.
+**
+** You should have received a copy of the GNU Library General Public
+** License along with this library; if not, write to the
+** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+** Boston, MA  02111-1307, USA.
+
+Debian users can find the GNU Library General Public License at
+/usr/share/common-licenses/LGPL-2.
+
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..e772481
--- /dev/null
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..fac001e
--- /dev/null
@@ -0,0 +1,2 @@
+README.*
+debian/doctmp/*
diff --git a/debian/gpsbabel.1 b/debian/gpsbabel.1
new file mode 100644 (file)
index 0000000..42603da
--- /dev/null
@@ -0,0 +1,1032 @@
+.TH GPSBABEL 1 "November 10, 2006" "gpsbabel 1.3.2"
+.SH NAME
+gpsbabel \- Universal gps format translator
+.SH SYNOPSIS
+.br
+/usr/bin/gpsbabel [options] -i INTYPE -f INFILE -o OUTTYPE -F OUTFILE
+.br
+/usr/bin/gpsbabel [options] -i INTYPE -o OUTTYPE INFILE [OUTFILE]
+.br
+.SH DESCRIPTION
+
+.br
+Converts GPS route and waypoint data from one format type to another.
+.br
+The input type and filename are specified with the -i INTYPE
+.br
+and -f INFILE options. The output type and filename are specified
+.br
+with the -o OUTTYPE and -F OUTFILE options.
+.br
+If '-' is used for INFILE or OUTFILE, stdin or stdout will be used.
+.br
+
+.br
+In the second form of the command, INFILE and OUTFILE are the
+.br
+first and second positional (non-option) arguments.
+.br
+
+.br
+INTYPE and OUTTYPE must be one of the file types listed below, and
+.br
+may include options valid for that file type.  For example:
+.br
+'gpx', 'gpx,snlen=10' and 'ozi,snlen=10,snwhite=1'
+.br
+(without the quotes) are all valid file type specifications.
+.br
+
+.SH OPTIONS
+.br
+-p               Preferences file (gpsbabel.ini)
+.br
+-s               Synthesize shortnames
+.br
+-r               Process route information
+.br
+-t               Process track information
+.br
+-w               Process waypoint information [default]
+.br
+-b               Process command file (batch mode)
+.br
+-c               Character set for next operation
+.br
+-N               No smart icons on output
+.br
+-x filtername    Invoke filter (place between inputs and output) 
+.br
+-D level         Set debug level [0]
+.br
+-l               Print GPSBabel builtin character sets and exit
+.br
+-h, -?           Print detailed help and exit
+.br
+-V               Print GPSBabel version and exit
+.br
+
+
+.br
+File Types (-i and -o options):
+.br
+       baroiq                Brauniger IQ Series Barograph Download
+.br
+       cambridge             Cambridge/Winpilot glider software
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       cst                   CarteSurTable data file
+.br
+       cetus                 Cetus for Palm/OS
+.br
+         dbname                Database name 
+.br
+         appendicon            (0/1) Append icon_descr to description 
+.br
+       coastexp              CoastalExplorer XML
+.br
+       csv                   Comma separated values
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       compegps              CompeGPS data files (.wpt/.trk/.rte)
+.br
+         deficon               Default icon name 
+.br
+         index                 Index of route/track to write (if more than one in source)
+.br
+         radius                Give points (waypoints/route points) a default radius (proximity).
+.br
+         snlen                 Length of generated shortnames (default 16) 
+.br
+       copilot               CoPilot Flight Planner for Palm/OS
+.br
+       coto                  cotoGPS for Palm/OS
+.br
+         zerocat               Name of the 'unassigned' category 
+.br
+       axim_gpb              Dell Axim Navigation System (.gpb) file format
+.br
+       an1                   DeLorme .an1 (drawing) file
+.br
+         type                  Type of .an1 file 
+.br
+         road                  Road type changes 
+.br
+         nogc                  (0/1) Do not add geocache data to description 
+.br
+         deficon               Symbol to use for point data 
+.br
+         color                 Color for lines or mapnotes 
+.br
+         zoom                  Zoom level to reduce points 
+.br
+         wpt_type              Waypoint type 
+.br
+         radius                Radius for circles 
+.br
+       gpl                   DeLorme GPL
+.br
+       saplus                DeLorme Street Atlas Plus
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       saroute               DeLorme Street Atlas Route
+.br
+         turns_important       (0/1) Keep turns if simplify filter is used 
+.br
+         turns_only            (0/1) Only read turns; skip all other points 
+.br
+         split                 (0/1) Split into multiple routes at turns 
+.br
+         controls              Read control points as waypoint/route/none 
+.br
+         times                 (0/1) Synthesize track times 
+.br
+       xmap                  DeLorme XMap HH Native .WPT
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       xmap2006              DeLorme XMap/SAHH 2006 Native .TXT
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       xmapwpt               DeLorme XMat HH Street Atlas USA .WPT (PPC)
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       easygps               EasyGPS binary format
+.br
+       igc                   FAI/IGC Flight Recorder Data Format
+.br
+         timeadj               (integer sec or 'auto') Barograph to GPS time diff 
+.br
+       gpssim                Franson GPSGate Simulation
+.br
+         wayptspd              Default speed for waypoints (knots/hr) 
+.br
+         split                 (0/1) Split input into separate files 
+.br
+       fugawi                Fugawi
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       garmin301             Garmin 301 Custom position and heartrate
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       glogbook              Garmin Logbook XML
+.br
+       gdb                   Garmin MapSource - gdb
+.br
+         cat                   Default category on output (1..16) 
+.br
+         ver                   Version of gdb file to generate (1,2) 
+.br
+         via                   (0/1) Drop route points that do not have an equivalent w 
+.br
+       mapsource             Garmin MapSource - mps
+.br
+         snlen                 Length of generated shortnames 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         mpsverout             Version of mapsource file to generate (3,4,5) 
+.br
+         mpsmergeout           (0/1) Merge output with existing file 
+.br
+         mpsusedepth           (0/1) Use depth values on output (default is ignore) 
+.br
+         mpsuseprox            (0/1) Use proximity values on output (default is ignore) 
+.br
+       garmin_txt            Garmin MapSource - txt (tab delimited)
+.br
+         date                  Read/Write date format (i.e. yyyy/mm/dd) 
+.br
+         datum                 GPS datum (def. WGS 84) 
+.br
+         dist                  Distance unit [m=metric, s=statute] 
+.br
+         prec                  Precision of coordinates 
+.br
+         temp                  Temperature unit [c=Celsius, f=Fahrenheit] 
+.br
+         time                  Read/Write time format (i.e. HH:mm:ss xx) 
+.br
+         utc                   Write timestamps with offset x to UTC time 
+.br
+       pcx                   Garmin PCX5
+.br
+         deficon               Default icon name 
+.br
+         cartoexploreur        (0/1) Write tracks compatible with Carto Exploreur 
+.br
+       garmin_poi            Garmin POI database
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       garmin                Garmin serial/USB protocol
+.br
+         snlen                 Length of generated shortnames 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         deficon               Default icon name 
+.br
+         get_posn              (0/1) Return current position as a waypoint 
+.br
+         power_off             (0/1) Command unit to power itself down 
+.br
+         category              Category number to use for written waypoints 
+.br
+       gtrnctr               Garmin Training Centerxml
+.br
+       geo                   Geocaching.com .loc
+.br
+         deficon               Default icon name 
+.br
+         nuke_placer           (0/1) Omit Placer name 
+.br
+       gcdb                  GeocachingDB for Palm/OS
+.br
+       geonet                GEOnet Names Server (GNS)
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       geoniche              GeoNiche .pdb
+.br
+         dbname                Database name (filename) 
+.br
+         category              Category name (Cache) 
+.br
+       kml                   Google Earth (Keyhole) Markup Language
+.br
+         deficon               Default icon name 
+.br
+         lines                 (0/1) Export linestrings for tracks and routes 
+.br
+         points                (0/1) Export placemarks for tracks and routes 
+.br
+         line_width            Width of lines, in pixels 
+.br
+         line_color            Line color, specified in hex AABBGGRR 
+.br
+         floating              (0/1) Altitudes are absolute and not clamped to ground 
+.br
+         extrude               (0/1) Draw extrusion line from trackpoint to ground 
+.br
+         trackdata             (0/1) Include extended data for trackpoints (default = 1 
+.br
+         units                 Units used when writing comments ('s'tatute or 'm' 
+.br
+         labels                (0/1) Display labels on track and routepoints  (default  
+.br
+         max_position_point    Retain at most this number of position points  (0  
+.br
+       google                Google Maps XML
+.br
+       gpilots               GpilotS
+.br
+         dbname                Database name 
+.br
+       gtm                   GPS TrackMaker
+.br
+       arc                   GPSBabel arc filter file
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       gpsdrive              GpsDrive Format
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       gpsdrivetrack         GpsDrive Format for Tracks
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       gpsman                GPSman
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       gpspilot              GPSPilot Tracker for Palm/OS
+.br
+         dbname                Database name 
+.br
+       gpsutil               gpsutil
+.br
+       gpx                   GPX XML
+.br
+         snlen                 Length of generated shortnames 
+.br
+         suppresswhite         (0/1) No whitespace in generated shortnames 
+.br
+         logpoint              (0/1) Create waypoints from geocache log entries 
+.br
+         urlbase               Base URL for link tag in output 
+.br
+         gpxver                Target GPX version for output 
+.br
+       hiketech              HikeTech
+.br
+       holux                 Holux (gm-100) .wpo Format
+.br
+       hsandv                HSA Endeavour Navigator export File
+.br
+       html                  HTML Output
+.br
+         stylesheet            Path to HTML style sheet 
+.br
+         encrypt               (0/1) Encrypt hints using ROT13 
+.br
+         logs                  (0/1) Include groundspeak logs if present 
+.br
+         degformat             Degrees output as 'ddd', 'dmm'(default) or 'dms' 
+.br
+         altunits              Units for altitude (f)eet or (m)etres 
+.br
+       ignrando              IGN Rando track files
+.br
+         index                 Index of track to write (if more than one in source) 
+.br
+       ktf2                  Kartex 5 Track File
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       kwf2                  Kartex 5 Waypoint File
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       psitrex               KuDaTa PsiTrex text
+.br
+       lowranceusr           Lowrance USR
+.br
+         ignoreicons           (0/1) Ignore event marker icons 
+.br
+         merge                 (0/1) (USR output) Merge into one segmented track 
+.br
+         break                 (0/1) (USR input) Break segments into separate tracks 
+.br
+       maggeo                Magellan Explorist Geocaching
+.br
+       mapsend               Magellan Mapsend
+.br
+         trkver                MapSend version TRK file to generate (3,4) 
+.br
+       magnav                Magellan NAV Companion for Palm/OS
+.br
+       magellanx             Magellan SD files (as for eXplorist)
+.br
+         deficon               Default icon name 
+.br
+         maxcmts               Max number of comments to write (maxcmts=200) 
+.br
+       magellan              Magellan SD files (as for Meridian)
+.br
+         deficon               Default icon name 
+.br
+         maxcmts               Max number of comments to write (maxcmts=200) 
+.br
+       magellan              Magellan serial protocol
+.br
+         deficon               Default icon name 
+.br
+         maxcmts               Max number of comments to write (maxcmts=200) 
+.br
+         baud                  Numeric value of bitrate (baud=4800) 
+.br
+         noack                 (0/1) Suppress use of handshaking in name of speed 
+.br
+         nukewpt               (0/1) Delete all waypoints 
+.br
+       tef                   Map&Guide 'TourExchangeFormat' XML
+.br
+         routevia              (0/1) Include only via stations in route 
+.br
+       mag_pdb               Map&Guide to Palm/OS exported files (.pdb)
+.br
+       mapconverter          Mapopolis.com Mapconverter CSV
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       mxf                   MapTech Exchange Format
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       msroute               Microsoft AutoRoute 2002 (pin/route reader)
+.br
+       msroute               Microsoft Streets and Trips (pin/route reader)
+.br
+       s_and_t               Microsoft Streets and Trips 2002-2006
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       bcr                   Motorrad Routenplaner (Map&Guide) .bcr files
+.br
+         index                 Index of route to write (if more than one in source) 
+.br
+         name                  New name for the route 
+.br
+         radius                Radius of our big earth (default 6371000 meters) 
+.br
+       psp                   MS PocketStreets 2002 Pushpin
+.br
+       tpg                   National Geographic Topo .tpg (waypoints)
+.br
+         datum                 Datum (default=NAD27) 
+.br
+       tpo2                  National Geographic Topo 2.x .tpo
+.br
+       tpo3                  National Geographic Topo 3.x/4.x .tpo
+.br
+       navicache             Navicache.com XML
+.br
+         noretired             (0/1) Suppress retired geocaches 
+.br
+       nmn4                  Navigon Mobile Navigator .rte files
+.br
+         index                 Index of route to write (if more than one in source) 
+.br
+       dna                   Navitrak DNA marker format
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       netstumbler           NetStumbler Summary File (text)
+.br
+         nseicon               Non-stealth encrypted icon name 
+.br
+         nsneicon              Non-stealth non-encrypted icon name 
+.br
+         seicon                Stealth encrypted icon name 
+.br
+         sneicon               Stealth non-encrypted icon name 
+.br
+         snmac                 (0/1) Shortname is MAC address 
+.br
+       nima                  NIMA/GNIS Geographic Names File
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       nmea                  NMEA 0183 sentences
+.br
+         snlen                 Max length of waypoint name to write 
+.br
+         gprmc                 (0/1) Read/write GPRMC sentences 
+.br
+         gpgga                 (0/1) Read/write GPGGA sentences 
+.br
+         gpvtg                 (0/1) Read/write GPVTG sentences 
+.br
+         gpgsa                 (0/1) Read/write GPGSA sentences 
+.br
+         date                  Complete date-free tracks with given date (YYYYMMDD) 
+.br
+         get_posn              (0/1) Return current position as a waypoint 
+.br
+         pause                 Decimal seconds to pause between groups of strings 
+.br
+         baud                  Speed in bits per second of serial port (baud=4800)
+.br
+       ozi                   OziExplorer
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         wptfgcolor            Waypoint foreground color 
+.br
+         wptbgcolor            Waypoint background color 
+.br
+       palmdoc               PalmDoc Output
+.br
+         nosep                 (0/1) No separator lines between waypoints 
+.br
+         dbname                Database name 
+.br
+         encrypt               (0/1) Encrypt hints with ROT13 
+.br
+         logs                  (0/1) Include groundspeak logs if present 
+.br
+         bookmarks_short       (0/1) Include short name in bookmarks 
+.br
+       pathaway              PathAway Database for Palm/OS
+.br
+         date                  Read/Write date format (i.e. DDMMYYYY) 
+.br
+         dbname                Database name 
+.br
+         deficon               Default icon name 
+.br
+         snlen                 Length of generated shortnames 
+.br
+       quovadis              Quovadis
+.br
+         dbname                Database name 
+.br
+       cup                   See You flight analysis data
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       sportsim              Sportsim track files (part of zipped .ssz files)
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       stmsdf                Suunto Trek Manager (STM) .sdf files
+.br
+         index                 Index of route (if more than one in source) 
+.br
+       stmwpp                Suunto Trek Manager (STM) WaypointPlus files
+.br
+         index                 Index of route/track to write (if more the one in  
+.br
+       openoffice            Tab delimited fields useful for OpenOffice, Ploticus, etc.
+.br
+         snlen                 Max synthesized shortname length 
+.br
+         snwhite               (0/1) Allow whitespace synth. shortnames 
+.br
+         snupper               (0/1) UPPERCASE synth. shortnames 
+.br
+         snunique              (0/1) Make synth. shortnames unique 
+.br
+         urlbase               Basename prepended to URL on output 
+.br
+         prefer_shortnames     (0/1) Use shortname instead of description 
+.br
+       text                  Textual Output
+.br
+         nosep                 (0/1) Suppress separator lines between waypoints 
+.br
+         encrypt               (0/1) Encrypt hints using ROT13 
+.br
+         logs                  (0/1) Include groundspeak logs if present 
+.br
+         degformat             Degrees output as 'ddd', 'dmm'(default) or 'dms' 
+.br
+         altunits              Units for altitude (f)eet or (m)etres 
+.br
+       tomtom                TomTom POI file
+.br
+       tmpro                 TopoMapPro Places File
+.br
+       dmtlog                TrackLogs digital mapping (.trl)
+.br
+         index                 Index of track (if more than one in source) 
+.br
+       tiger                 U.S. Census Bureau Tiger Mapping Service
+.br
+         nolabels              (0/1) Suppress labels on generated pins 
+.br
+         genurl                Generate file with lat/lon for centering map 
+.br
+         margin                Margin for map.  Degrees or percentage 
+.br
+         snlen                 Max shortname length when used with -s 
+.br
+         oldthresh             Days after which points are considered old 
+.br
+         oldmarker             Marker type for old points 
+.br
+         newmarker             Marker type for new points 
+.br
+         suppresswhite         (0/1) Suppress whitespace in generated shortnames 
+.br
+         unfoundmarker         Marker type for unfound points 
+.br
+         xpixels               Width in pixels of map 
+.br
+         ypixels               Height in pixels of map 
+.br
+         iconismarker          (0/1) The icon description is already the marker 
+.br
+       unicsv                Universal csv with field structure in first line
+.br
+       vcard                 Vcard Output (for iPod)
+.br
+         encrypt               (0/1) Encrypt hints using ROT13 
+.br
+       vitosmt               Vito Navigator II tracks
+.br
+       wfff                  WiFiFoFum 2.0 for PocketPC XML
+.br
+         aicicon               Infrastructure closed icon name 
+.br
+         aioicon               Infrastructure open icon name 
+.br
+         ahcicon               Ad-hoc closed icon name 
+.br
+         ahoicon               Ad-hoc open icon name 
+.br
+         snmac                 (0/1) Shortname is MAC address 
+.br
+       wbt-bin               Wintec WBT-100/200 Binary file format
+.br
+       wbt                   Wintec WBT-100/200 GPS Download
+.br
+         erase                 (0/1) Erase device data after download 
+.br
+       yahoo                 Yahoo Geocode API data
+.br
+         addrsep               String to separate concatenated address fields (default=", ")
+.br
+
+.br
+Supported data filters:
+.br
+       arc                   Include Only Points Within Distance of Arc        
+.br
+         file                  File containing vertices of arc (required)
+.br
+         distance              Maximum distance from arc (required)
+.br
+         exclude               Exclude points close to the arc 
+.br
+         points                Use distance from vertices not lines 
+.br
+       discard               Remove unreliable points with high hdop or vdop   
+.br
+         hdop                  Suppress waypoints with higher hdop 
+.br
+         vdop                  Suppress waypoints with higher vdop 
+.br
+         hdopandvdop           Link hdop and vdop supression with AND 
+.br
+       duplicate             Remove Duplicates                                 
+.br
+         shortname             Suppress duplicate waypoints based on name 
+.br
+         location              Suppress duplicate waypoint based on coords 
+.br
+         all                   Suppress all instances of duplicates 
+.br
+         correct               Use coords from duplicate points 
+.br
+       interpolate           Interpolate between trackpoints                   
+.br
+         time                  Time interval in seconds 
+.br
+         distance              Distance interval in miles or kilometers 
+.br
+         route                 Interpolate routes instead 
+.br
+       nuketypes             Remove all waypoints, tracks, or routes           
+.br
+         waypoints             Remove all waypoints from data stream 
+.br
+         tracks                Remove all tracks from data stream 
+.br
+         routes                Remove all routes from data stream 
+.br
+       polygon               Include Only Points Inside Polygon                
+.br
+         file                  File containing vertices of polygon (required)
+.br
+         exclude               Exclude points inside the polygon 
+.br
+       position              Remove Points Within Distance                     
+.br
+         distance              Maximum positional distance (required)
+.br
+         all                   Suppress all points close to other points 
+.br
+       radius                Include Only Points Within Radius                 
+.br
+         lat                   Latitude for center point (D.DDDDD) (required)
+.br
+         lon                   Longitude for center point (D.DDDDD) (required)
+.br
+         distance              Maximum distance from center (required)
+.br
+         exclude               Exclude points close to center 
+.br
+         nosort                Inhibit sort by distance to center 
+.br
+         maxcount              Output no more than this number of points 
+.br
+         asroute               Put resulting waypoints in route of this name 
+.br
+       simplify              Simplify routes                                   
+.br
+         count                 Maximum number of points in route 
+.br
+         error                 Maximum error 
+.br
+         crosstrack            Use cross-track error (default) 
+.br
+         length                Use arclength error 
+.br
+       sort                  Rearrange waypoints by resorting                  
+.br
+         gcid                  Sort by numeric geocache ID 
+.br
+         shortname             Sort by waypoint short name 
+.br
+         description           Sort by waypoint description 
+.br
+         time                  Sort by time 
+.br
+       stack                 Save and restore waypoint lists                   
+.br
+         push                  Push waypoint list onto stack 
+.br
+         pop                   Pop waypoint list from stack 
+.br
+         swap                  Swap waypoint list with <depth> item on stack 
+.br
+         copy                  (push) Copy waypoint list 
+.br
+         append                (pop) Append list 
+.br
+         discard               (pop) Discard top of stack 
+.br
+         replace               (pop) Replace list (default) 
+.br
+         depth                 (swap) Item to use (default=1) 
+.br
+       reverse               Reverse stops within routes                       
+.br
+       track                 Manipulate track lists                            
+.br
+         move                  Correct trackpoint timestamps by a delta 
+.br
+         pack                  Pack all tracks into one 
+.br
+         split                 Split by date or time interval (see README) 
+.br
+         sdistance             Split by distance 
+.br
+         merge                 Merge multiple tracks for the same way 
+.br
+         name                  Use only track(s) where title matches given name 
+.br
+         start                 Use only track points after this timestamp 
+.br
+         stop                  Use only track points before this timestamp 
+.br
+         title                 Basic title for new track(s) 
+.br
+         fix                   Synthesize GPS fixes (PPS, DGPS, 3D, 2D, NONE) 
+.br
+         course                Synthesize course 
+.br
+         speed                 Synthesize speed 
+.br
+       transform             Transformate waypoints into a route, tracks into routes,...
+.br
+         wpt                   Transform track(s) or route(s) into waypoint(s) [R/T]
+.br
+         rte                   Transform waypoint(s) or track(s) into route(s) [W/T] 
+.br
+         trk                   Transform waypoint(s) or route(s) into tracks(s) [W/R]
+.br
+
+
+.SH SEE ALSO
+Full user documentation is available at /usr/share/doc/gpsbabel/gpsbabel.html
+.br
+.SH AUTHORS
+Major contributors:
+.br
+Robert Lipe Chief Babel-Head.
+.br
+Ron Parker Long term contributor. Implemented route simplification, arc filter, polygon filter, TomTom, most of the Delorme formats, Palmdoc, GPSPilot, Magellan Navigator Companion, Google Maps, and the stack filter. Numerous contributions to infrastructure and many fixes.
+.br
+Alex Mottram Implemented the CSV subsystem, radius filter, and co-designed the original route and track infrastructure, Topo support ##other stuff.
+.br
+Olaf Klein contributed support for "Motorrad Routenplaner", MapSource GDB format, Pathaway, IGN Rando, Suunto Trek Manager, Navigon Mobile Navigator, TrackFilter and character encoding transformation.
+.nf
+
+.br
diff --git a/debian/gpsbabel.doc-base.EX b/debian/gpsbabel.doc-base.EX
new file mode 100644 (file)
index 0000000..535db55
--- /dev/null
@@ -0,0 +1,22 @@
+Document: gpsbabel
+Title: Debian gpsbabel Manual
+Author: <insert document author here>
+Abstract: This manual describes what gpsbabel is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/gpsbabel/gpsbabel.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/gpsbabel/gpsbabel.ps.gz
+
+Format: text
+Files: /usr/share/doc/gpsbabel/gpsbabel.text.gz
+
+Format: HTML
+Index: /usr/share/doc/gpsbabel/html/index.html
+Files: /usr/share/doc/gpsbabel/html/*.html
+
+  
diff --git a/debian/manpage.sgml.ex b/debian/manpage.sgml.ex
new file mode 100644 (file)
index 0000000..32ce3e5
--- /dev/null
@@ -0,0 +1,156 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+       docbook-to-man $< > $@
+
+    
+       The docbook-to-man binary is found in the docbook-to-man package.
+       Please remember that if you create the nroff version in one of the
+       debian/rules file targets (such as build), you will need to include
+       docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>September  9, 2004</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhemail     "<email>jgoerzen@complete.org</email>">
+  <!ENTITY dhusername  "John Goerzen">
+  <!ENTITY dhucpackage "<refentrytitle>GPSBABEL</refentrytitle>">
+  <!ENTITY dhpackage   "gpsbabel">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2003</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+      <arg><option>--example <replaceable>that</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+    <para><command>&dhpackage;</command> is a program that...</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>bar (1), baz (1).</para>
+
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the
+      <application>Info</application> system.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+         later version published by the Free Software Foundation.
+    </para>
+       <para>
+         On Debian systems, the complete text of the GNU General Public
+         License can be found in /usr/share/common-licenses/GPL.
+       </para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+
diff --git a/debian/menu.ex b/debian/menu.ex
new file mode 100644 (file)
index 0000000..84f2064
--- /dev/null
@@ -0,0 +1,2 @@
+?package(gpsbabel):needs=X11|text|vc|wm section=Apps/see-menu-manual\
+  title="gpsbabel" command="/usr/bin/gpsbabel"
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..c4a6835
--- /dev/null
@@ -0,0 +1,121 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+       cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+       cp -f /usr/share/misc/config.guess config.guess
+endif
+       $(SHELL) ./configure --with-zlib=system --with-doc=debian/doctmp \
+               --prefix=/usr
+       # Add here commands to configure the package.
+       mkdir -p xmldoc/autogen
+
+       touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+       dh_testdir
+
+       mkdir debian/doctmp
+       # Add here commands to compile the package.
+       $(MAKE)
+       $(MAKE) doc
+       chmod u+x testo
+       -$(MAKE) check
+       #cd doc && make doc.dvi
+       #cd doc && dvips -o doc.ps doc.dvi
+       #/usr/bin/docbook-to-man debian/gpsbabel.sgml > gpsbabel.1
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp dep doc/*.ps
+
+       # Add here commands to clean up after the build process.
+       [ ! -f Makefile ] || $(MAKE) clean
+       -cd doc && $(MAKE) clean
+       -rm -rf debian/doctmp xmldoc/autogen/*
+       -rm -rf Makefile config.h config.log config.status debian/*.inc \
+               gpsbabel.fo tools/mkcapabilities win32/gpsbabel.rc \
+               xmldoc/makedoc \
+               zlib/empty jeeps/Makefile shapelib/Makefile
+       rm -f config.guess config.sub
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       # Add here commands to install the package into debian/gpsbabel.
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/gpsbabel
+       #install gpsbabel $(CURDIR)/debian/gpsbabel/usr/bin
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       dh_installexamples
+#      dh_install
+#      dh_installmenu
+#      dh_installdebconf       
+#      dh_installlogrotate
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installmime
+#      dh_installinit
+#      dh_installcron
+#      dh_installinfo
+       dh_installman debian/gpsbabel.1
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+#      dh_perl
+#      dh_python
+#      dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..5bb16d3
--- /dev/null
@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site         Directory               Pattern                 Version Script
+version=2
+ftp://heanet.dl.sourceforge.net/g/gp/gpsbabel/gpsbabel-([0-9a-z.]+)\.tar.gz debian uupdate
diff --git a/lmx.c b/lmx.c
index 5082a0cc06ddcceffe2e864c8653b00fe9520471..06a8154e585074589d7630cb9950348b33b25692 100644 (file)
--- a/lmx.c
+++ b/lmx.c
@@ -31,7 +31,7 @@
 
 static gbfile *ofd;
 static waypoint *wpt_tmp;
-char *link, *linkt;
+char *urllink, *urllinkt;
 
 #define MYNAME "lmx"
 
@@ -205,25 +205,25 @@ lmx_lm_desc(const char *args, const char **unused)
 static void
 lmx_lm_mlink_s(const char *args, const char **unused)
 {
-       link = linkt = NULL;
+       urllink = urllinkt = NULL;
 }
 
 static void
 lmx_lm_link(const char *args, const char **unused)
 {
-       link = xstrdup(args);
+       urllink = xstrdup(args);
 }
 
 static void
 lmx_lm_linkt(const char *args, const char **unused)
 {
-       linkt = xstrdup(args);
+       urllinkt = xstrdup(args);
 }
 
 static void
 lmx_lm_mlink_e(const char *args, const char **unused)
 {
-       waypt_add_url(wpt_tmp, link, linkt);
+       waypt_add_url(wpt_tmp, urllink, urllinkt);
 }
 
 
index 1bcac19109c36f9df1c96e73436b39d1592aa7c3..9f791bd64cde0e073d4a616b727d8e29406a4a94 100644 (file)
@@ -4,7 +4,7 @@
                 exclude-result-prefixes="exsl">
 
 
-<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+<xsl:import href="file:///usr/share/xml/docbook/stylesheet/nwalsh/xhtml/chunk.xsl"/>
 
 <xsl:param name="html.stylesheet">http://www.gpsbabel.org/style3.css</xsl:param>
 <xsl:param name="use.id.as.filename">1</xsl:param>